package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "sys_customer_credit")
public class SysCustomerCredit {
    @Id
    @Column(name = "sys_customer_credit_id")
    private Integer sysCustomerCreditId;

    /**
     * 额度
     */
    private Integer quota;

    /**
     * 账期
     */
    @Column(name = "account_period")
    private Integer accountPeriod;

    @Column(name = "customer_id")
    private Integer customerId;


    /**
     * @return sys_customer_credit_id
     */
    public Integer getSysCustomerCreditId() {
        return sysCustomerCreditId;
    }

    /**
     * @param sysCustomerCreditId
     */
    public void setSysCustomerCreditId(Integer sysCustomerCreditId) {
        this.sysCustomerCreditId = sysCustomerCreditId;
    }

    public Integer getQuota() {
        return quota;
    }

    public void setQuota(Integer quota) {
        this.quota = quota;
    }

    /**
     * 获取账期
     *
     * @return account_period - 账期
     */
    public Integer getAccountPeriod() {
        return accountPeriod;
    }

    /**
     * 设置账期
     *
     * @param accountPeriod 账期
     */
    public void setAccountPeriod(Integer accountPeriod) {
        this.accountPeriod = accountPeriod;
    }

    /**
     * @return customer_id
     */
    public Integer getCustomerId() {
        return customerId;
    }

    /**
     * @param customerId
     */
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
}